package Test.拷贝;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Address implements Cloneable {
   private String province;
   private String city;

   //重写clone
   @Override
   protected Object clone() throws CloneNotSupportedException {
      return super.clone();
   }
}
